<?php
namespace app\home\model;
use think\Db;
/**
 * 退货原因
 */
class ComplaintsTwo extends Base {
	/**
	 * 列表-客户管理，添加客户地址时用
	 */
	public function listQuery() {
		$parentId = input('parentId/d',0);
		$where[] = ['is_del', '=', 0];
		$where[] = ['co_id', '=', $parentId];
		$rs = $this->where($where)
			->field('ct_id,name')
			->order('ct_id', 'asc')
			->select();
		return $rs;
	}
}